package com.woniuxy.entity;

import java.util.Date;
import java.util.List;

/**
 * @author wenlei
 * @ClassName PaperCategor
 * @Description 试卷类别实体类
 * @date 2022/5/4 17:49
 **/
public class PaperCategor {
    private int id;
    private String creator;
    private Date create_time;
    private String updater;
    private Date update_time;
    private int is_deleted;
    private String category;
    private String url;
    private int fid;

    @Override
    public String toString() {
        return "PaperCategor{" +
                "id=" + id +
                ", creator='" + creator + '\'' +
                ", create_time=" + create_time +
                ", updater='" + updater + '\'' +
                ", update_time=" + update_time +
                ", is_deleted=" + is_deleted +
                ", category='" + category + '\'' +
                ", url='" + url + '\'' +
                ", fid=" + fid +
                ", paperCategors=" + paperCategors +
                '}';
    }

    public List<PaperCategor> getPaperCategors() {
        return paperCategors;
    }

    public void setPaperCategors(List<PaperCategor> paperCategors) {
        this.paperCategors = paperCategors;
    }

    public PaperCategor(int id, String creator, Date create_time, String updater, Date update_time, int is_deleted, String category, String url, int fid, List<PaperCategor> paperCategors) {
        this.id = id;
        this.creator = creator;
        this.create_time = create_time;
        this.updater = updater;
        this.update_time = update_time;
        this.is_deleted = is_deleted;
        this.category = category;
        this.url = url;
        this.fid = fid;
        this.paperCategors = paperCategors;
    }

    private List<PaperCategor> paperCategors;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public PaperCategor() {
    }

    public PaperCategor(int id, String creator, Date create_time, String updater, Date update_time, int is_deleted, String category, String url, int fid) {
        this.id = id;
        this.creator = creator;
        this.create_time = create_time;
        this.updater = updater;
        this.update_time = update_time;
        this.is_deleted = is_deleted;
        this.category = category;
        this.url = url;
        this.fid = fid;
    }
}
